<?php
	include 'public.php';
	//查询用户数据
	$id = $_SESSION['home']['id'];
	$sql = "select * from ".PRE."user where id='{$id}'";
	$result = mysql_query($sql);
	$userinfo = mysql_fetch_assoc($result);
?>

	<div class="admin_main_nav">个人信息&gt;&gt;修改密码</div>
			<div class="userinfo">
					<div class="mt20">
						<table cellspacing="0" cellpadding="0" width="800">
							<form action="action.php?a=repwd" method="post" enctype="multipart/form-data">
							<tr>
								<th width="350">原密码：</th>
								<td><input type = "password" name="oldpwd"/></td>
							</tr>
							<tr>
								<th>新密码：</th>
								<td><input type = "password" name="newpwd"/></td>
							</tr>
							<tr>
								<th>新密码：</th>
								<td><input type = "password" name="repwd"/></td>
							</tr>
							<tr>
								<th colspan="2" class="submit"><input type="submit" value="更新密码"/></th>
							</tr>
							</form>
						</table>
					</div>
			</div>

<?php include 'public_b.php';?>

